home *** CD-ROM | disk | FTP | other *** search
/ The Sunday Times: The Month 2004 August / The Sunday Times - The Month 2004-08.iso / pc / engine / shell / shell.swf / scripts / frame_2 / DoAction_3.as < prev    next >
Encoding:
Text File  |  2004-07-06  |  579 b   |  21 lines

  1. ConnCheck = {dbg:function(str)
  2. {
  3.    trace("ConnCheck." + str);
  4. },test:function()
  5. {
  6.    Tardis.debug.addProcess("monitorTracking","ConnCheck.test()");
  7.    lingo("Flsh_connection_startCheck");
  8. },onTimerComplete:function()
  9. {
  10.    Tardis.debug.addProcess("monitorTracking","ConnCheck.onTimerComplete()");
  11.    this.test();
  12. },startTimer:function()
  13. {
  14.    this.test();
  15.    this.stopTimer();
  16.    this.nmTimerID = setInterval(this,"onTimerComplete",this.TIMER_INTERVAL * 1000);
  17. },stopTimer:function()
  18. {
  19.    clearInterval(this.nmTimerID);
  20. },TIMER_INTERVAL:null,DEBUG:"verbose"};
  21.